package com.ygsoft.tianlu_mall.pojo;

public class Permission {

    private Integer id;
    private String permission_name; //权限标识 程序中判断使用,如"user:create"
    private String permission_description; //权限描述,UI界面显示使用
    private String url;
    private Boolean available = Boolean.TRUE; //是否可用,如果不可用将不会添加给用户

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPermission_name() {
        return permission_name;
    }

    public void setPermission_name(String permission_name) {
        this.permission_name = permission_name;
    }

    public String getPermission_description() {
        return permission_description;
    }

    public void setPermission_description(String permission_description) {
        this.permission_description = permission_description;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Boolean getAvailable() {
        return available;
    }

    public void setAvailable(Boolean available) {
        this.available = available;
    }
}
